package com.ist.smartstation.entity;

import java.io.Serializable;


public class Passenger implements Serializable{

    /**
	 * 
	 */
	private static final long serialVersionUID = 6414262374403690359L;
	
	public Long mId;
    public String mName;
	public Integer mPartyNumber;
    public String mDestination;
    
    public Passenger() {
    	super();
    }
    
    public Passenger(Long id, String name, int partyNumber, String destination) {
		super();
		mId = id;
		mName = name;
		mPartyNumber = partyNumber;
		mDestination = destination;
	}
	
	@Override
	public String toString() {
		return mId+". Passenger "+mName+" with a party of "+mPartyNumber+" going to "+mDestination;
	}
    
}
